import wyRequest from '../../../utils/http'

// const PREFIX = 

// 获取手机登录验证码
export const getLoginCode = (phone:Record<string,any>) => wyRequest.post('/api/wap/work/login/getLoginCode',phone)


// 登录
export const accountLogin = (data:Record<string,any>) => wyRequest.post('/api/wap/work/login/smsLogin',data)

export const loginByCode=(code:string)=>wyRequest.get(`/api/wap/work/login/wxLogin/?code=${code}`)  



